Micron Document
<!DOCTYPE html>
<html class="client-nojs vector-feature-night-mode-disabled vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-sticky-header-enabled" lang="en" dir="ltr"><head>
<meta charset="UTF-8">
<title>IBM Open Class</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="canonical" href="https://en.wikipedia.org/wiki/IBM_Open_Class"> <link href="./mw/ext.pygments.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.icons.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.search.codex.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/user.styles.css" rel="stylesheet" type="text/css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" type="text/css" href="./mw/site.styles.css">
<link rel="stylesheet" type="text/css" href="./mw/noscript.css">
<link rel="stylesheet" type="text/css" href="./footer.css">
<link rel="stylesheet" type="text/css" href="./vector-2022.css">
</head>
<body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-IBM_Open_Class rootpage-IBM_Open_Class skin-vector-2022 action-view">
<div class="mw-page-container">
<div class="mw-page-container-inner">
<div class="mw-content-container">
<main id="content" class="mw-body">
<header class="mw-body-header vector-page-titlebar">
<h1 id="firstHeading" class="firstHeading mw-first-heading">
<span id="openzim-page-title" class="mw-page-title-main"><span class="mw-page-title-main">IBM Open Class</span></span>
</h1>
</header>
<a id="top"></a>
<div id="bodyContent" class="vector-body ve-init-mw-desktopArticleTarget-targetContainer" aria-labelledby="firstHeading" data-mw-ve-target-container="">
<div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="en" dir="ltr"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr">
<p><b>IBM Open Class</b> (<b>IOC</b>) is an <a href="IBM" title="IBM">IBM</a> <a href="C%2B%2B" title="C++">C++</a> product originally developed by Kevin Leong and originally known under several names in the C++ industry, including <b>ICL</b> (IBM Class Library), <b>UICL</b> (User Interface Class Library), and <b>OCL</b> (Open Class Library).
</p><p>IOC was an extensive set of <a href="C%2B%2B_classes" title="C++ classes">C++ classes</a> used to build <a href="Command_line_interface" class="mw-redirect" title="Command line interface">CLI</a> and <a href="GUI" class="mw-redirect" title="GUI">GUI</a> applications which could then be easily <a href="Cross_compiler" title="Cross compiler">cross-compiled</a> to <a href="OS/2" title="OS/2">OS/2</a>, <a href="Microsoft_Windows" title="Microsoft Windows">Microsoft Windows</a>, and <a href="AIX_operating_system" class="mw-redirect" title="AIX operating system">AIX</a>. IOC also formed the basis for IBM's <a href="VisualAge" title="VisualAge">VisualAge for C++</a> graphical application builder. The non-GUI portions of IOC were available for <a href="Z/OS" title="Z/OS">z/OS</a> and <a href="OS/400" class="mw-redirect" title="OS/400">OS/400</a>.
</p>
<meta property="mw:PageProp/toc">
<div class="mw-heading mw-heading2"><h2 id="History_of_IOC">History of IOC</h2></div>

<p>The IOC was included as part of IBM's C++ <a href="Compiler" title="Compiler">compiler</a> environment. Applications developed with IOC could be distributed with a <a href="Royalty-free" title="Royalty-free">royalty-free</a> <a href="Runtime_library" title="Runtime library">runtime</a>, or could be <a href="Static_library" title="Static library">statically linked</a> against the IOC <a href="Software_library" class="mw-redirect" title="Software library">libraries</a>. Initially only available for OS/2, the IOC was eventually made available for Windows, AIX, z/OS, and OS/400. Support for the OS/2 and Windows VisualAge for C++ compiler—as well as the accompanying IOC—was officially withdrawn by IBM on April 27, 2001.<sup class=" nourlexpansion citation" id="ref_ibmwithdrawal"><a class="external autonumber external" href="https://en.wikipedia.org/wiki/IBM_Open_Class#endnote_ibmwithdrawal">[1]</a></sup> IOC was removed from z/OS 1.9, introduced in 2007.
</p>
<ul><li>C/Set++ v2.01 for OS/2 (1993)</li>
<li>VisualAge C++ for OS/2, version 3.0</li>
<li>VisualAge for C++ for Windows, version 3.5</li>
<li>C and C++ Compilers for OS/2, AIX, and for <a href="Windows_NT" title="Windows NT">Windows NT</a>, version 3.6</li>
<li>C and C++ Compilers for OS/2 and Windows, version 3.65 (1998?)</li>
<li>VisualAge C++ Professional for OS/2 and <a href="Windows_NT_4.0" title="Windows NT 4.0">Windows NT, version 4.0</a> (1998)</li></ul>
<div class="mw-heading mw-heading2"><h2 id="Examples">Examples</h2></div>
<p>The most widely recognized example of a simple application that uses the IOC is <a href="Hello_world_program" class="mw-redirect" title="Hello world program">hello world</a>:
</p>
<pre> #include &lt;iframe.hpp&gt;
</pre>
<div class="mw-highlight mw-highlight-lang-cpp mw-content-ltr" dir="ltr"><pre><span class="w"> </span><span class="kt">int</span><span class="w"> </span><span class="nf">main</span><span class="p">()</span>
<span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="n">IFrameWindow</span><span class="w"> </span><span class="n">frame</span><span class="w"> </span><span class="p">(</span><span class="s">"Hello, World!"</span><span class="p">);</span>
<span class="w"> </span><span class="n">frame</span><span class="p">.</span><span class="n">showModally</span><span class="p">();</span>
<span class="w"> </span><span class="p">}</span>
</pre></div>
<p>Other examples of commonly used IOC classes and methods include:
</p>
<pre> #include &lt;istring.hpp&gt;
</pre>
<div class="mw-highlight mw-highlight-lang-cpp mw-content-ltr" dir="ltr"><pre><span class="w"> </span><span class="n">IString</span><span class="w"> </span><span class="n">someText</span><span class="w"> </span><span class="p">(</span><span class="s">"hello world"</span><span class="p">);</span>
</pre></div>
<pre> #include &lt;icmdhdr.hpp&gt;
</pre>
<div class="mw-highlight mw-highlight-lang-cpp mw-content-ltr" dir="ltr"><pre><span class="w"> </span><span class="k">virtual</span><span class="w"> </span><span class="n">Boolean</span><span class="w"> </span><span class="nf">MyHandler::command</span><span class="w"> </span><span class="p">(</span><span class="n">ICommandEvent</span><span class="w"> </span><span class="o">&amp;</span><span class="n">event</span><span class="p">);</span>
</pre></div>
<div class="mw-heading mw-heading2"><h2 id="Notes">Notes</h2></div>
<ol><li><style data-mw-deduplicate="TemplateStyles:r1041539562">
/* start https://en.wikipedia.org/ */


.mw-parser-output .citation{word-wrap:break-word}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}


/* end https://en.wikipedia.org/ */
</style><span class="citation wikicite" id="endnote_ibmwithdrawal"><b><a href="#ref_ibmwithdrawal">^</a></b></span> <a rel="nofollow" class="external text" href="http://www.ibm.com/Search/?q=901-013">IBM's Withdrawal Announcement #901-013</a> (announced on January 23, 2001, effective on April 27, 2001)</li></ol>
<div class="mw-heading mw-heading2"><h2 id="External_links">External links</h2></div>
<ul><li><a rel="nofollow" class="external free" href="news://ibm.software.vacpp.openclass">news://ibm.software.vacpp.openclass</a></li>
<li><style data-mw-deduplicate="TemplateStyles:r1238218222">
/* start https://en.wikipedia.org/ */


.mw-parser-output cite.citation{font-style:inherit;word-wrap:break-word}.mw-parser-output .citation q{quotes:"\"""\"""'""'"}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}.mw-parser-output .id-lock-free.id-lock-free a{background:url("./mw/Lock-green.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-limited.id-lock-limited a,.mw-parser-output .id-lock-registration.id-lock-registration a{background:url("./mw/Lock-gray-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-subscription.id-lock-subscription a{background:url("./mw/Lock-red-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .cs1-ws-icon a{background:url("./mw/Wikisource-logo.svg")right 0.1em center/12px no-repeat}body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-free a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-limited a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-registration a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-subscription a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .cs1-ws-icon a{background-size:contain;padding:0 1em 0 0}.mw-parser-output .cs1-code{color:inherit;background:inherit;border:none;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;color:var(--color-error,#d33)}.mw-parser-output .cs1-visible-error{color:var(--color-error,#d33)}.mw-parser-output .cs1-maint{display:none;color:#085;margin-left:0.3em}.mw-parser-output .cs1-kern-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right{padding-right:0.2em}.mw-parser-output .citation .mw-selflink{font-weight:inherit}@media screen{.mw-parser-output .cs1-format{font-size:95%}html.skin-theme-clientpref-night .mw-parser-output .cs1-maint{color:#18911f}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .cs1-maint{color:#18911f}}


/* end https://en.wikipedia.org/ */
</style><a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&nbsp;<bdi>0-442-01795-2</bdi> (C++ Class Library: Power GUI Programming with CSet++)</li>
<li><a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&nbsp;<bdi>0-471-16482-8</bdi> (Power GUI Programming with VisualAge for C++)</li></ul>
<p><br>
</p>
<style data-mw-deduplicate="TemplateStyles:r1271159938">
/* start https://en.wikipedia.org/ */


.mw-parser-output .asbox{position:relative;overflow:hidden}.mw-parser-output .asbox table{background:transparent}.mw-parser-output .asbox p{margin:0}.mw-parser-output .asbox p+p{margin-top:0.25em}.mw-parser-output .asbox-body{font-style:italic}.mw-parser-output .asbox-note{font-size:smaller}.mw-parser-output .asbox .navbar{position:absolute;top:-0.75em;right:1em;display:none}.mw-parser-output :not(p):not(.asbox)+style+.asbox,.mw-parser-output :not(p):not(.asbox)+link+.asbox{margin-top:3em}


/* end https://en.wikipedia.org/ */
</style></div><!--htdig_noindex--><div><div class="zim-footer">
This article is issued from <a class="external text" title="Last edited on 2024-08-23" href="https://en.wikipedia.org/wiki/?title=IBM_Open_Class&amp;oldid=1241895477">Wikipedia</a>. The text is available under <a class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">Creative Commons Attribution-Share Alike 4.0</a> unless otherwise noted. Additional terms may apply for the media files.
</div>
</div><!--/htdig_noindex--></div>
</div>
</main>
</div>
</div>
</div>

</body></html>